package com.chenye.es;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Auther:chenye
 * @Data:2018/5/14
 * @Description:
 */
@ConfigurationProperties(prefix = "elasticsearch")
public class EsProperties {
    private String ip;
    private String port;
    private String pool;

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getPool() {
        return pool;
    }

    public void setPool(String pool) {
        this.pool = pool;
    }
}
